using MediatR;
using S.M.SmartMedical.ErrorCode;

namespace S.M.SmartMedical.API.Write.Application.Command
{
    /// <summary>
    /// 删除医院命令对象
    /// 用于处理医院删除请求
    /// </summary>
    public class DeleteHospitalCommand : IRequest<APIResult<bool>>
    {
        /// <summary>
        /// 医院ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="id">医院ID</param>
        public DeleteHospitalCommand(int id)
        {
            Id = id;
        }
    }
}